package com.dev.springBootDemo.generics4;

/**
 * @author zhumq
 * @date 2024/7/7 13:26
 */
public class MyListImpl<E> implements MyList<E> {
    @Override
    public void add(E e) {
        System.out.println("新增成功！！！");
    }

    @Override
    public E get(int index) {
        System.out.println("获取成功！！！");
        E e = null;
        return e;
    }
}
